package com.tang.common.properties;

import com.tang.common.annotation.Config;
import com.tang.common.annotation.ConfigField;
import lombok.Data;
import java.io.Serializable;

/**
 * @Author tang jun liang
 * @Date 2023-06-25 14:41:19
 */
@Data
@Config(name = "wx_config" )
public class WxConfigProperties implements Serializable {

    /**
     *   微信appid
     */
    @ConfigField(name = "APP_ID", type = String.class)
    private String appId;

    /**
     *   微信商户号
     */
    @ConfigField(name = "MCH_ID", type = String.class)
    private String mchId;

    /**
     *   商户秘钥
     */
    @ConfigField(name = "MCH_KEY", type = String.class)
    private String mchKey;

    /**
     *   回调接口
     */
    @ConfigField(name = "NOTIFY_URL", type = String.class)
    private String notifyUrl;

    /**
     *   证书地址
     */
    @ConfigField(name = "KEY_PATH", type = String.class)
    private String keyPath;

    /**
     *   小程序appid
     */
    @ConfigField(name = "MINI_APP_ID", type = String.class)
    private String miniAppId;

    /**
     *   小程序秘钥
     */
    @ConfigField(name = "MINI_APP_SECRET", type = String.class)
    private String miniAppSecret;

}
